import util from "@/libs/util"
export function getadminMaintOrgInfoList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maintOrgInfo/list`,
    method: "post",
    data
  })
}

export function getAdminMaintOrgInfo (id) {
  return util.http({
    url: `/biz-maint/maint-admin/maintOrgInfo/`+id,
    method: "get"
  })
}

export function addAdminMaintOrgInfo(data) {
  return util.http({
    url: `/biz-maint/maint-admin/maintOrgInfo/insert`,
    method: "post",
    data
  })
}

export function editAdminMaintOrgInfo (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maintOrgInfo/edit`,
    method: "put",
    data
  })
}

export function createMaintAcount (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maintOrgInfo/createAcount`,
    method: "put",
    data
  })
}
